package com.cfswt.tasksystem.mapper;

import com.cfswt.tasksystem.pojo.entity.IndicatorTaskBookAttachment;
import com.cfswt.tasksystem.pojo.entity.KPISchemeAttachment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface KPIAttachmentMapper {
    int insertAttachment(KPISchemeAttachment kpiSchemeAttachment);

    List<KPISchemeAttachment> selectAttachmentBySchemeId(Integer schemeId);

    int deleteAttachmentById(Integer id);

    int insertKPIIndicatorTaskBook(IndicatorTaskBookAttachment indicatorTaskBookAttachment);

    IndicatorTaskBookAttachment selectKPIIndicatorTaskBookByKpiId(Integer kpiId);
}
